﻿<Window x:Class="SMS.Shell.Windows.CustomerPriceWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="CustomerPriceWindow" WindowStartupLocation="CenterScreen" Width="600" Height="400" WindowState="Maximized">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <DataGrid Grid.Row="0" Name="_gridPrice" AutoGenerateColumns="False" CanUserAddRows="False">
            <DataGrid.Columns>
                <DataGridTextColumn Header="优惠价格" Width="*"/>
                <DataGridTextColumn Header="优惠单瓶价格" IsReadOnly="True" Width="*"/>
                <DataGridTextColumn Header="名称" IsReadOnly="True" Width="*"/>
                <DataGridTextColumn Header="规格" IsReadOnly="True" Width="*"/>
                <DataGridTextColumn Header="标准价格" IsReadOnly="True" Width="*"/>
                <DataGridTextColumn Header="标准单瓶价格" IsReadOnly="True" Width="*"/>
            </DataGrid.Columns>
        </DataGrid>
        <StackPanel Grid.Row="1" Margin="5" Orientation="Horizontal" HorizontalAlignment="Center">
            <Button Content="保存" Margin="5" Name="_btnSubmit" Click="_btnSubmit_Click" />
            <Button Content="取消" Margin="5" Name="_btnCancel" Click="_btnCancel_Click" />
        </StackPanel>
    </Grid>
</Window>
